/*     */ package nccloud.dto.riart.querytemplate.queryscheme;
/*     */ 
/*     */ import nc.vo.annotation.MDEntityInfo;
/*     */ import nc.vo.ml.MultiLangUtil;
/*     */ import nc.vo.pub.IVOMeta;
/*     */ import nc.vo.pub.SuperVO;
/*     */ import nc.vo.pub.lang.MultiLangText;
/*     */ import nc.vo.pub.lang.UFBoolean;
/*     */ import nc.vo.pub.lang.UFDateTime;
/*     */ import nc.vo.pub.query.BlobUtil;
/*     */ import nc.vo.pubapp.pattern.model.meta.entity.vo.VOMetaFactory;
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ public class NCCQuerySchemeVO
/*     */   extends SuperVO
/*     */ {
/*     */   private static final long serialVersionUID = 5477237915331614743L;
/*     */   private String pk_ncc_queryscheme;
/*     */   private String areaid;
/*     */   private String parentid;
/*     */   private String cuserid;
/*     */   private String pk_org;
/*     */   private String name;
/*     */   private String name2;
/*     */   private String name3;
/*     */   private String name4;
/*     */   private String name5;
/*     */   private String name6;
/*     */   private UFBoolean isprepared;
/*     */   @Deprecated
/*     */   private UFBoolean isdefault;
/*     */   private UFBoolean isquickqs;
/*     */   private UFBoolean ismodified;
/*     */   private UFBoolean isdelete;
/*     */   private UFBoolean iscomplete;
/*     */   private Integer sequenc;
/*     */   private byte[] conditionobj;
/*     */   private byte[] renderobj;
/*     */   private Object conditionobj4web;
/*     */   private Object renderobj4web;
/*     */   private UFDateTime ts;
/*  45 */   private Integer dr = Integer.valueOf(0);
/*     */   
/*     */   public static final String PK_NCC_QUERYSCHEME = "pk_ncc_queryscheme";
/*     */   
/*     */   public static final String AREAID = "areaid";
/*     */   public static final String PARENTID = "parentid";
/*     */   public static final String CUSERID = "cuserid";
/*     */   public static final String PK_ORG = "pk_org";
/*     */   public static final String NAME = "name";
/*     */   public static final String NAME2 = "name2";
/*     */   public static final String NAME3 = "name3";
/*     */   public static final String NAME4 = "name4";
/*     */   public static final String NAME5 = "name5";
/*     */   public static final String NAME6 = "name6";
/*     */   public static final String ISPREPARED = "isprepared";
/*     */   public static final String ISDEFAULT = "isdefault";
/*     */   public static final String ISQUICKQS = "isquickqs";
/*     */   public static final String ISMODIFIED = "ismodified";
/*     */   public static final String ISDELETE = "isdelete";
/*     */   public static final String ISCOMPLETE = "iscomplete";
/*     */   public static final String CONDITIONOBJ = "conditionobj";
/*     */   public static final String RENDEROBJ = "renderobj";
/*     */   public static final String SEQUENCE = "sequenc";
/*     */   public static final String TS = "ts";
/*     */   public static final String DR = "dr";
/*     */   public static final String DEF1 = "def1";
/*     */   public static final String DEF2 = "def2";
/*     */   public static final String DEF3 = "def3";
/*     */   public static final String DEF4 = "def4";
/*     */   public static final String DEF5 = "def5";
/*     */   
/*  71 */   public UFBoolean getIsprepared() { return this.isprepared; }
/*     */ 
/*     */ 
/*     */   
/*  75 */   public Object getConditionobj4web() { return this.conditionobj4web; }
/*     */ 
/*     */ 
/*     */   
/*  79 */   public void setConditionobj4web(Object conditionobj4web) { this.conditionobj4web = conditionobj4web; }
/*     */ 
/*     */ 
/*     */   
/*  83 */   public Object getRenderobj4web() { return this.renderobj4web; }
/*     */ 
/*     */ 
/*     */   
/*  87 */   public void setRenderobj4web(Object renderobj4web) { this.renderobj4web = renderobj4web; }
/*     */ 
/*     */ 
/*     */   
/*  91 */   public void setIsprepared(UFBoolean isprepared) { this.isprepared = isprepared; }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*     */   @Deprecated
/* 100 */   public UFBoolean getIsdefault() { return this.isdefault; }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   
/*     */   @Deprecated
/* 109 */   public void setIsdefault(UFBoolean isdefault) { this.isdefault = isdefault; }
/*     */ 
/*     */ 
/*     */   
/* 113 */   public Integer getSequenc() { return this.sequenc; }
/*     */ 
/*     */ 
/*     */   
/* 117 */   public void setSequenc(Integer sequenc) { this.sequenc = sequenc; }
/*     */ 
/*     */ 
/*     */   
/* 121 */   private static boolean convert(UFBoolean ufboolean) { return ufboolean != null && ufboolean.booleanValue(); }
/*     */ 
/*     */ 
/*     */   
/* 125 */   public boolean isPrepared() { return convert(getIsprepared()); }
/*     */ 
/*     */ 
/*     */   
/* 129 */   public boolean isDefault() { return convert(getIsdefault()); }
/*     */ 
/*     */ 
/*     */   
/* 133 */   public String getPk_ncc_queryscheme() { return this.pk_ncc_queryscheme; }
/*     */ 
/*     */ 
/*     */   
/* 137 */   public void setPk_ncc_queryscheme(String pk_ncc_queryscheme) { this.pk_ncc_queryscheme = pk_ncc_queryscheme; }
/*     */ 
/*     */ 
/*     */   
/* 141 */   public byte[] getConditionobj() { return this.conditionobj; }
/*     */ 
/*     */ 
/*     */   
/* 145 */   public void setConditionobj(byte[] conditionobj) { this.conditionobj = conditionobj; }
/*     */ 
/*     */ 
/*     */   
/* 149 */   public byte[] getRenderobj() { return this.renderobj; }
/*     */ 
/*     */ 
/*     */   
/* 153 */   public void setRenderobj(byte[] renderobj) { this.renderobj = renderobj; }
/*     */ 
/*     */ 
/*     */   
/* 157 */   public String getCuserid() { return this.cuserid; }
/*     */ 
/*     */ 
/*     */   
/* 161 */   public void setCuserid(String cuserid) { this.cuserid = cuserid; }
/*     */ 
/*     */ 
/*     */   
/* 165 */   public Integer getDr() { return this.dr; }
/*     */ 
/*     */ 
/*     */   
/* 169 */   public void setDr(Integer dr) { this.dr = dr; }
/*     */ 
/*     */ 
/*     */   
/* 173 */   public UFDateTime getTs() { return this.ts; }
/*     */ 
/*     */ 
/*     */   
/* 177 */   public void setTs(UFDateTime ts) { this.ts = ts; }
/*     */ 
/*     */ 
/*     */   
/* 181 */   public String getAreaid() { return this.areaid; }
/*     */ 
/*     */ 
/*     */   
/* 185 */   public void setAreaid(String areaid) { this.areaid = areaid; }
/*     */ 
/*     */ 
/*     */   
/* 189 */   public String getParentid() { return this.parentid; }
/*     */ 
/*     */ 
/*     */   
/* 193 */   public void setParentid(String parentid) { this.parentid = parentid; }
/*     */ 
/*     */ 
/*     */   
/* 197 */   public UFBoolean getIscomplete() { return this.iscomplete; }
/*     */ 
/*     */ 
/*     */   
/* 201 */   public void setIscomplete(UFBoolean iscomplete) { this.iscomplete = iscomplete; }
/*     */ 
/*     */ 
/*     */   
/* 205 */   public UFBoolean getIsquickqs() { return this.isquickqs; }
/*     */ 
/*     */ 
/*     */   
/* 209 */   public void setIsquickqs(UFBoolean isquickqs) { this.isquickqs = isquickqs; }
/*     */ 
/*     */ 
/*     */   
/* 213 */   public String getName() { return this.name; }
/*     */ 
/*     */ 
/*     */   
/* 217 */   public void setName(String name) { this.name = name; }
/*     */ 
/*     */ 
/*     */   
/* 221 */   public String getName2() { return this.name2; }
/*     */ 
/*     */ 
/*     */   
/* 225 */   public void setName2(String name2) { this.name2 = name2; }
/*     */ 
/*     */ 
/*     */   
/* 229 */   public String getName3() { return this.name3; }
/*     */ 
/*     */ 
/*     */   
/* 233 */   public void setName3(String name3) { this.name3 = name3; }
/*     */ 
/*     */ 
/*     */   
/* 237 */   public String getName4() { return this.name4; }
/*     */ 
/*     */ 
/*     */   
/* 241 */   public void setName4(String name4) { this.name4 = name4; }
/*     */ 
/*     */ 
/*     */   
/* 245 */   public String getName5() { return this.name5; }
/*     */ 
/*     */ 
/*     */   
/* 249 */   public void setName5(String name5) { this.name5 = name5; }
/*     */ 
/*     */ 
/*     */   
/* 253 */   public String getName6() { return this.name6; }
/*     */ 
/*     */ 
/*     */   
/* 257 */   public void setName6(String name6) { this.name6 = name6; }
/*     */ 
/*     */   
/*     */   public String getCurLangNamefield() {
/* 261 */     String s = null;
/* 262 */     switch (MultiLangUtil.getCurrentLangSeq()) {
/*     */       case 1:
/* 264 */         s = "name";
/*     */         break;
/*     */       case 2:
/* 267 */         s = "name2";
/*     */         break;
/*     */       case 3:
/* 270 */         s = "name3";
/*     */         break;
/*     */       case 4:
/* 273 */         s = "name4";
/*     */         break;
/*     */       case 5:
/* 276 */         s = "name5";
/*     */         break;
/*     */       case 6:
/* 279 */         s = "name6";
/*     */         break;
/*     */     } 
/*     */ 
/*     */ 
/*     */     
/* 285 */     if (s == null) {
/* 286 */       s = "name";
/*     */     }
/* 288 */     return s;
/*     */   }
/*     */   
/*     */   public MultiLangText getMultiLangName() {
/* 292 */     MultiLangText ml = new MultiLangText();
/* 293 */     ml.setText(getName());
/* 294 */     ml.setText2(getName2());
/* 295 */     ml.setText3(getName3());
/* 296 */     ml.setText4(getName4());
/* 297 */     ml.setText5(getName5());
/* 298 */     ml.setText6(getName6());
/* 299 */     return ml;
/*     */   }
/*     */   
/*     */   public void setMultiLangName(String name) {
/* 303 */     switch (MultiLangUtil.getCurrentLangSeq()) {
/*     */       case 1:
/* 305 */         this.name = name;
/*     */         return;
/*     */       case 2:
/* 308 */         this.name2 = name;
/*     */         return;
/*     */       case 3:
/* 311 */         this.name3 = name;
/*     */         return;
/*     */       case 4:
/* 314 */         this.name4 = name;
/*     */         return;
/*     */       case 5:
/* 317 */         this.name5 = name;
/*     */         return;
/*     */       case 6:
/* 320 */         this.name6 = name;
/*     */         return;
/*     */     } 
/* 323 */     this.name = name;
/*     */   }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   
/* 338 */   public String getPKFieldName() { return "pk_ncc_queryscheme"; }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   
/* 344 */   public void setPrimaryKey(String pk_ncc_queryscheme) { this.pk_ncc_queryscheme = pk_ncc_queryscheme; }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   
/* 350 */   public String getPrimaryKey() { return this.pk_ncc_queryscheme; }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   
/* 363 */   public String getTableName() { return "pub_ncc_queryscheme"; }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   
/* 375 */   public static String getDefaultTableName() { return "pub_ncc_queryscheme"; }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   
/* 382 */   public void setConditionobj4Blob(Object conditionObj) { setConditionobj(BlobUtil.convert(conditionObj)); }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   
/* 389 */   public Object getConditionobj4Blob() { return BlobUtil.convert(getConditionobj()); }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   
/* 396 */   public void setRenderobj4Blob(Object renderObj) { setRenderobj(BlobUtil.convert(renderObj)); }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   
/* 403 */   public Object getRenderobj4Blob() { return BlobUtil.convert(getRenderobj()); }
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */ 
/*     */   
/* 416 */   public String getPk_org() { return this.pk_org; }
/*     */ 
/*     */ 
/*     */   
/* 420 */   public void setPk_org(String pk_org) { this.pk_org = pk_org; }
/*     */ 
/*     */ 
/*     */   
/* 424 */   public UFBoolean getIsdelete() { return this.isdelete; }
/*     */ 
/*     */ 
/*     */   
/* 428 */   public void setIsdelete(UFBoolean isdelete) { this.isdelete = isdelete; }
/*     */ 
/*     */ 
/*     */   
/* 432 */   public UFBoolean getIsmodified() { return this.ismodified; }
/*     */ 
/*     */ 
/*     */   
/* 436 */   public void setIsmodified(UFBoolean ismodified) { this.ismodified = ismodified; }
/*     */ 
/*     */   private String def1;
/*     */   private String def2;
/*     */   private String def3;
/*     */   private String def4;
/*     */   private String def5;
/*     */   
	public String getDef1() {
		return def1;
	}
	public void setDef1(String def1) {
		this.def1 = def1;
	}
	public String getDef2() {
		return def2;
	}
	public void setDef2(String def2) {
		this.def2 = def2;
	}
	public String getDef3() {
		return def3;
	}
	public void setDef3(String def3) {
		this.def3 = def3;
	}
	public String getDef4() {
		return def4;
	}
	public void setDef4(String def4) {
		this.def4 = def4;
	}
	public String getDef5() {
		return def5;
	}
	public void setDef5(String def5) {
		this.def5 = def5;
	} 



/*     */   @MDEntityInfo(beanFullclassName = "nccloud.dto.riart.querytemplate.queryscheme.NCCQuerySchemeVO")
/* 440 */   public IVOMeta getMetaData() { return VOMetaFactory.getInstance().getVOMeta("uap.ncc_queryscheme"); }
/*     */

}


/* Location:              D:\NC\Home\xmxz\home\modules\riart\lib\pubriart_nccloudLevel-1.jar!/nccloud/dto/riart/querytemplate/queryscheme/NCCQuerySchemeVO.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.0.7
 */